from pydantic import BaseModel
from datetime import datetime

# 重命名：从 DocumentMetadata → DocumentMetadataSchema（明确是Pydantic schema）
class DocumentMetadataSchema(BaseModel):
    doc_id: str
    file_name: str
    file_path: str
    upload_time: datetime
    chunk_count: int
    status: str  # 处理状态